<html>
<head><meta charset="utf-8"><title>Multiple bitcode files? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Multiple.20bitcode.20files.3F.html">Multiple bitcode files?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="179006085"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Multiple%20bitcode%20files%3F/near/179006085" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mincheol Sung <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Multiple.20bitcode.20files.3F.html#179006085">(Oct 24 2019 at 22:54)</a>:</h4>
<p>Hi, I set RUSTFLAGS="--emit=llvm-bc -Ccodegen-units=1" and compiled my rust code.<br>
At the end of the compilation log, I got a "warning: ignoring emit path because multiple .bc files were produced" message.<br>
Also, I got multiple llvm bc files. I am not sure why it generated multiple bc files.</p>
<p>The filenames were<br>
rusty_tests-28o0novt6ed4s/s-fh7cmsfffz-fqieta-2l7e4ef4oofxd/w7omp4y9hiquvef.bc<br>
rusty_tests-28o0novt6ed4s/s-fh7cmsfffz-fqieta-2l7e4ef4oofxd/4iuj66dk0gb52u5e.bc<br>
rusty_tests-28o0novt6ed4s/s-fh7cmsfffz-fqieta-2l7e4ef4oofxd/1b16leawhiyrmh45.bc<br>
rusty_tests-28o0novt6ed4s/s-fh7cmsfffz-fqieta-2l7e4ef4oofxd/3hi5d6zj63et252f.bc<br>
rusty_tests-28o0novt6ed4s/s-fh7cmsfffz-fqieta-2l7e4ef4oofxd/4salh73uycqty1fg.bc<br>
rusty_tests-28o0novt6ed4s/s-fh7cmsfffz-fqieta-2l7e4ef4oofxd/40fnqdz0unt7ji20.bc<br>
rusty_tests-28o0novt6ed4s/s-fh7cmsfffz-fqieta-2l7e4ef4oofxd/1tulppvd79yke2g.bc</p>
<p>What are these files and how to get a proper bc file?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>